package com.ze.tool.excel;

import lombok.Data;

import java.lang.reflect.Field;

@Data
public class ExportFieldMeta implements Comparable<ExportFieldMeta> {

    private Field field;

    private String title;

    private int sort;

    @Override
    public int compareTo(ExportFieldMeta o) {
        return sort - o.getSort();
    }
}
